package com.xinjian.jianba.dto.pay;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;
import com.xinjian.jianba.utils.RegexType;

public class SetPayPasswordDto implements Serializable {

	private static final long serialVersionUID = -3571462932063478158L;

	@Validator(nullable = false, description = "用户id")
	private Long userId;
	// 密码
	@Validator(nullable = false, description = "支付密码")
	private String payPassword;
	// 手机号
	@Validator(regexType = RegexType.MOBILE, description = "手机号")
	private String mobile;

	@Validator(nullable = false, description = "验证码")
	private String checkCode;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPayPassword() {
		return payPassword;
	}

	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

}
